import service from './request'

// 首页-导航
export function index_nav(params = {}){
    return service.get('/index/nav', {params});
}
// 首页-推荐列表
export function index_goodlist(params = {}){
    return service.get('/index/goodlist',{params});
}
// 分类-一级分类
export function category_list(params = {}){
    return service.get('/category/list',{params});
}
// 分类-二级分类
export function category_subcate(params = {}){
    return service.get('/category/subcate',{params});
}
// 用户-注册
export function user_register(params = {}){
    return service.post('/user/register', params );
}
// 用户-登录
export function user_login(params = {}){
    return service.post('/user/login', params );
}
// 首页-轮播图
export function index_banner(params = {}){
    return service.get('/index/banner',{params});
}
